﻿using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using IGolovkine.ShoutCastRipper.Service.Configuration;
using System;

namespace IGolovkine.ShoutCastRipper.Service.Configuration
{
    public class StationRipperElementCollection : ConfigurationElementCollection<StationRipperElement>
    {
        private const string RadioRecorderTag = "stationRipper";

        public StationRipperElementCollection() : base(RadioRecorderTag)
        {
        }

        protected override object GetElementKey(StationRipperElement element)
        {
            return element.Name;
        }
    }    
}
